# 头文件所在地址

# 设置了可执行文件在项目根目录下的bin
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

SET(DIR_LIB_SRCS disk_blk.cpp
	disk_manager.cpp
	disk_partition_base.cpp
	disk_partition_mbr.cpp
	disk_format.cpp
	part_fmt_fat32.cpp
)


ADD_LIBRARY(diskManager STATIC ${DIR_LIB_SRCS})

SET(SRC_LIST
	disk_part_main.cpp
)

ADD_EXECUTABLE(disk_format ${SRC_LIST} )

TARGET_LINK_LIBRARIES(disk_format diskManager luaWrapper  lua-5.3 )
